﻿<Window x:Class="Copy4Backup.AboutWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="About" Height="300" Width="300" ShowInTaskbar="False" 
        Icon="/Copy4Backup;component/Copy4Backup.ico" Loaded="Window_Loaded"
        WindowStartupLocation="CenterOwner">
    
    <Window.Resources>
        <Style TargetType="{x:Type Button}">
            <Setter Property="Margin" Value="5"/>
        </Style>
        
        <Style TargetType="{x:Type TextBlock}">
            <Setter Property="Margin" Value="5"/>
        </Style>
    </Window.Resources>

    <Grid>
        
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition/>
            <RowDefinition Height="auto"/>
        </Grid.RowDefinitions>
        
        <TextBlock Grid.Row="0" Name="textBlockProductName"/>
        
        <TextBlock Grid.Row="1" Name="textBlockVersion"/>
        
        <TextBlock Grid.Row="2" Name="textBlockCopyright"/>
        
        <TextBlock Grid.Row="3" Name="textBlockCompanyName"/>
        
        <TextBlock Grid.Row="4" HorizontalAlignment="Center"><Hyperlink Name="hyperlinkToSite" Click="hyperlinkToSite_Click" NavigateUri="http://copy4backup.codeplex.com" >http://copy4backup.codeplex.com</Hyperlink></TextBlock>
        
        <TextBlock Grid.Row="5" Name="textBlockDescription"/>
        
        <Button Grid.Row="6" HorizontalAlignment="Right" Width="50" IsDefault="True" Click="Button_Click">OK</Button>
    </Grid>
</Window>
